<?php $__env->startSection('title'); ?>
首页
<?php $__env->stopSection(); ?>
<?php $__env->startSection('all'); ?>
    
    <?php echo $__env->make('widget.advert', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
    
    
    <?php echo $__env->make('widget.search', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
    
    <?php echo $__env->make('widget.hall', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
    
    <div class="t-hall-container">
        <a class="t-hall-banner" href="#">
            <img src="/imgs/banner01.jpg">
        </a>
        <a class="t-hall-banner" href="#">
            <img src="/imgs/banner02.jpg">
        </a>
        <a class="t-hall-banner" href="#">
            <img src="/imgs/banner03.jpg">
        </a>
        <a class="t-hall-banner" href="#">
            <img src="/imgs/banner04.jpg">
        </a>
        <a class="t-hall-banner" href="#">
            <img src="/imgs/banner05.jpg">
        </a>
        <ul class="t-tabs">
            <li class="t-tab"></li>
            <li class="t-tab"></li>
            <li class="t-tab"></li>
            <li class="t-tab"></li>
            <li class="t-tab"></li>
        </ul>
    </div>
    
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
    
    <div id="i-wrap">
        <div class="t-content">
            <ul>
                <?php $__currentLoopData = $items; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <li class="t-item t-item1">
                        <div class="t-title clearfix">
                            <h3><?php echo e($item->name); ?></h3>
                            <ul class="t-tab">
                                <?php $__currentLoopData = $item->getArea; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $k=>$a): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <?php if($k<3): ?>
                                        <li><a href=""><?php echo e($a->name); ?></a></li>
                                    <?php endif; ?>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </ul>
                        </div>
                        <div class="t-main clearfix">
                            <div class="t-m-left">
                                <a href="#">
                                    <img src="<?php echo e($item->cover); ?>" alt="">
                                </a>
                            </div>
                            <div class="t-m-right">
                                <ul class="t-on clearfix">
                                    <?php $__currentLoopData = $item->getArea; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $j=>$s): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <?php if($j==0): ?>
                                        <?php $__currentLoopData = $s->getScene; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $j=>$m): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <?php if($j<4): ?>
                                            <li>
                                                <div class="t-img">
                                                    <a href="/index.php/scene/<?php echo e($m->id); ?>">
                                                        <img src="<?php echo e($m->cover); ?>" alt="">
                                                    </a>
                                                    <p><?php echo e(mb_substr($m->intro,5,20)); ?></p>
                                                </div>
                                                <div class="t-text">
                                                    <p><a href="#"><?php echo e($m->name); ?></a></p>
                                                    <p class="t-price">￥<span><?php echo e($m->price); ?></span>起</p>
                                                    <p class="t-sold">浏览<span><?php echo e($m->sum); ?></span></p>
                                                </div>
                                            </li>
                                            <?php endif; ?>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    <?php endif; ?>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </ul>
                            </div>
                        </div>
                    </li>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </ul>
        </div>
    </div>
    
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.master',['loading_word'=>'加载中'], array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>